package csci5828.tasks.test;

import java.util.concurrent.Callable;

public class WaitTask implements Callable<String> {
	
	private long waitTime;
	
	public WaitTask(long waitTime) {
		this.waitTime = waitTime;
	}

	@Override
	public String call() throws Exception {
		Thread.sleep(this.waitTime);
		return "I waited for "+this.waitTime+" milliseconds";
	}
	

}
